﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200003D RID: 61
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AddBlacklistCsReq : IMessage<AddBlacklistCsReq>, IMessage, IEquatable<AddBlacklistCsReq>, IDeepCloneable<AddBlacklistCsReq>, IBufferMessage
	{
		// Token: 0x170000BD RID: 189
		// (get) Token: 0x060002A7 RID: 679 RVA: 0x00008A04 File Offset: 0x00006C04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AddBlacklistCsReq> Parser
		{
			get
			{
				return AddBlacklistCsReq._parser;
			}
		}

		// Token: 0x170000BE RID: 190
		// (get) Token: 0x060002A8 RID: 680 RVA: 0x00008A0B File Offset: 0x00006C0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AddBlacklistCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170000BF RID: 191
		// (get) Token: 0x060002A9 RID: 681 RVA: 0x00008A1D File Offset: 0x00006C1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AddBlacklistCsReq.Descriptor;
			}
		}

		// Token: 0x060002AA RID: 682 RVA: 0x00008A24 File Offset: 0x00006C24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AddBlacklistCsReq()
		{
		}

		// Token: 0x060002AB RID: 683 RVA: 0x00008A2C File Offset: 0x00006C2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AddBlacklistCsReq(AddBlacklistCsReq other) : this()
		{
			this.uid_ = other.uid_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060002AC RID: 684 RVA: 0x00008A51 File Offset: 0x00006C51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AddBlacklistCsReq Clone()
		{
			return new AddBlacklistCsReq(this);
		}

		// Token: 0x170000C0 RID: 192
		// (get) Token: 0x060002AD RID: 685 RVA: 0x00008A59 File Offset: 0x00006C59
		// (set) Token: 0x060002AE RID: 686 RVA: 0x00008A61 File Offset: 0x00006C61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x060002AF RID: 687 RVA: 0x00008A6A File Offset: 0x00006C6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AddBlacklistCsReq);
		}

		// Token: 0x060002B0 RID: 688 RVA: 0x00008A78 File Offset: 0x00006C78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AddBlacklistCsReq other)
		{
			return other != null && (other == this || (this.Uid == other.Uid && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060002B1 RID: 689 RVA: 0x00008AA8 File Offset: 0x00006CA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060002B2 RID: 690 RVA: 0x00008AE7 File Offset: 0x00006CE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060002B3 RID: 691 RVA: 0x00008AEF File Offset: 0x00006CEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060002B4 RID: 692 RVA: 0x00008AF8 File Offset: 0x00006CF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Uid != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Uid);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060002B5 RID: 693 RVA: 0x00008B2C File Offset: 0x00006D2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060002B6 RID: 694 RVA: 0x00008B6A File Offset: 0x00006D6A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AddBlacklistCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060002B7 RID: 695 RVA: 0x00008B9B File Offset: 0x00006D9B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060002B8 RID: 696 RVA: 0x00008BA4 File Offset: 0x00006DA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Uid = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040000E9 RID: 233
		private static readonly MessageParser<AddBlacklistCsReq> _parser = new MessageParser<AddBlacklistCsReq>(() => new AddBlacklistCsReq());

		// Token: 0x040000EA RID: 234
		private UnknownFieldSet _unknownFields;

		// Token: 0x040000EB RID: 235
		public const int UidFieldNumber = 12;

		// Token: 0x040000EC RID: 236
		private uint uid_;
	}
}
